const KoaBouncer = require('koa-bouncer')
const {FASTCONSUME,GOODSCONSUME,VIPCONSUME,CHANGESCORE} = require('../service/consume.service')
module.exports = {
    // 快速消费
    fastConsume: async (ctx, next) => {
        await FASTCONSUME(ctx, next)
    },
    // 商品消费
    goodsConsume: async (ctx, next) => {
        await GOODSCONSUME(ctx, next)
    },
    // 会员充值
    vipConsume: async (ctx, next) => {
        await VIPCONSUME(ctx, next)
    },
    // 添加订单
    changeScore: async (ctx, next) => {
        await CHANGESCORE(ctx, next)
    },
}